using System;

namespace Hotfix.Runtime
{
    [AttributeUsage(AttributeTargets.Class)]
    public class UIDataAttribute : Attribute
    {
        public string AssetPath { get; }
        public UILayer Layer { get; }
        public int Priority { get; }

        public UIDataAttribute(string path, UILayer layer = UILayer.Screen, int priority = 0)
        {
            AssetPath = path;
            Layer = layer;
            Priority = priority;
        }
    }
}